package com.szf.task.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "APP_INFO")
public class AppInfo {
	private String appId;
	private String appName;
	private String accountId;
	private String appKey;
	private String appSecret;
	private int rlimit;
	private int wlimit;

	@Id
	@Column(name = "APP_ID")
	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	@Column(name = "APP_NAME")
	public String getAppName() {
		return appName;
	}

	public void setAppName(String appName) {
		this.appName = appName;
	}

	@Column(name = "ACCOUNT_ID")
	public String getAccountId() {
		return accountId;
	}

	public void setAccountId(String accountId) {
		this.accountId = accountId;
	}

	@Column(name = "APP_KEY")
	public String getAppKey() {
		return appKey;
	}

	public void setAppKey(String appKey) {
		this.appKey = appKey;
	}

	@Column(name = "APP_SECRET")
	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	@Column(name = "R_LIMIT")
	public int getRlimit() {
		return rlimit;
	}

	public void setRlimit(int rlimit) {
		this.rlimit = rlimit;
	}

	@Column(name = "W_LIMIT")
	public int getWlimit() {
		return wlimit;
	}

	public void setWlimit(int wlimit) {
		this.wlimit = wlimit;
	}

}
